import { BasicColumn } from '@/components/Table';
export interface ListData {
  id: number;
  name: string;
  role_name: string;
  sex: string;
  avatar: string;
  id_card: string;
  mobile: string;
  email: string;
  edu: string;
  status_text: string;
}

export const columns: BasicColumn<ListData>[] = [
  {
    title: '编号',
    key: 'id',
  },
  {
    title: '姓名',
    key: 'name',
  },
  {
    title: '部门',
    key: 'role_name',
  },
  {
    title: '手机号码',
    key: 'mobile',
  },
  {
    title: '性别',
    key: 'sex',
  },
  {
    title: '身份证号',
    key: 'id_card',
  },
  {
    title: '邮箱',
    key: 'email',
  },
  {
    title: '学历',
    key: 'edu',
  },
  {
    title: '状态',
    key: 'status_text',
  },
];
